package pers.qianyu.module.core.domain.system.query;

import java.io.*;

/**
 * @author mizzle rain
 * @date 2020-11-12 14:50
 */
public class SysUserQuery implements Serializable {
    private static final long serialVersionUID = 1078655385206461317L;
    private int page = 1;
    private int limit = 5;
    private String username;
    private String nickname;
    private Integer type;
    private String email;
    private String phone;
    private Integer status;

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "SysUserQuery{" +
                "page=" + page +
                ", limit=" + limit +
                ", username='" + username + '\'' +
                ", nickname='" + nickname + '\'' +
                ", type=" + type +
                ", email='" + email + '\'' +
                ", phone='" + phone + '\'' +
                ", status=" + status +
                '}';
    }
}
